﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Interface_Tier;
using Transfer_Object_Tier;

namespace eSolution_HRMSS.Winforms.QuaTrinhLamViec
{
    public partial class FR_ThongTinkyLuat : DevExpress.XtraEditors.XtraForm
    {
        IHRM_PROCESS_DISCIPLINEData _IHRM_PROCESS_DISCIPLINEData;
        ICommonCode _icommon;
        eSolution_HRMSS.HRMSS_Ultil util = new HRMSS_Ultil();
        public FR_ThongTinkyLuat()
        {
            InitializeComponent();
        }

        private void radioGroup1_SelectedIndexChanged(object sender, EventArgs e)
        {
            bool vipham = false;
            if (radvipham.SelectedIndex==0)
            {
                vipham = true;
            }
        }

        private void FR_ThongTinkyLuat_Load(object sender, EventArgs e)
        {
            _IHRM_PROCESS_DISCIPLINEData = (IHRM_PROCESS_DISCIPLINEData)Activator.GetObject(typeof(IHRM_PROCESS_DISCIPLINEData), util.ChuoiPROCESS_DISCIPLINEData);
            _icommon = (ICommonCode)Activator.GetObject(typeof(ICommonCode), util.Chuoicommon);
        }
        private HRM_PROCESS_DISCIPLINE lay_thong_tin()
        {
            string bisulykiluatveviec = txtbisulykiluatveviec.Text;
            string diadiemxayrasuviec = txtdiadiemxayrasuviec.Text;
            string motasuviec = txtmotasuviec.Text;
            string nguoichungkien = txtnguoichungkien.Text;
            string viphamcuthe = txtviphamcuthe.Text;

            bool vipham = false;
            if (radvipham.SelectedIndex == 0)
            {
                vipham = true;
            }

            DateTime thoigianxayra = dtthoigianxayra.DateTime;

            string hinhthuckiluatapdung = txthinhthuckiluatapdung.Text;
            string nguoilaodonggiaithich = txtnguoilaodonggiaithich.Text;
            string soquyetdinh = txtsoquyetdinh.Text;
            string nguoibanhanh = txtnguoibanhanh.Text;

            DateTime ngayhinhthuckiluat = dtngayhinhthuckiluat.DateTime;

            bool giaithich = false;
            if (radgiaithich.SelectedIndex == 0)
            {
                giaithich = true;
            }
            HRM_PROCESS_DISCIPLINE discipline = new HRM_PROCESS_DISCIPLINE();

            return discipline;
            
        }

    }
}